package com.path.planning.util.path.entity;

public class RailwayData extends PathTopologyData {
    /**
     * 主键ID
     */
    private Integer id;

    /**
     * 几何信息
     */
    private String geom;

    /**
     * 名称
     */
    private String name;

    /**
     * 军事价值
     */
    private String msg;

    /**
     * 长度(千米)
     */
    private Double length;

    /**
     * 类别
     */
    private String type;

    /**
     * 性质
     */
    private String xingzhi;

    /**
     * 起点ID
     */
    private Integer source;

    /**
     * 终点ID
     */
    private Integer target;

    /**
     * 成本
     */
    private Double cost;

    /**
     * 反向成本
     */
    private Double reverseCost;

    /**
     * 速度
     */
    private Double speed;

    @Override
    public Integer getId() {
        return this.id;
    }

    @Override
    public String getGeom() {
        return this.geom;
    }

    @Override
    public Integer getSource() {
        return this.source;
    }

    @Override
    public Integer getTarget() {
        return this.target;
    }

    @Override
    public Double getCost() {
        return this.cost;
    }

    @Override
    public Double getReverseCost() {
        return this.reverseCost;
    }

    @Override
    public Double getSpeed() {
        return this.speed;
    }

    @Override
    public Double getHeightLimit() {
        return null;
    }

    @Override
    public Double getWidthLimit() {
        return null;
    }

    @Override
    public Double getWeightLimit() {
        return null;
    }

    @Override
    public Double getDepthLimit() {
        return null;
    }

    @Override
    public Double getPenalty() {
        return null;
    }

    @Override
    public String getPathName() {
        return this.name;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setGeom(String geom) {
        this.geom = geom;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Double getLength() {
        return length;
    }

    public void setLength(Double length) {
        this.length = length;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getXingzhi() {
        return xingzhi;
    }

    public void setXingzhi(String xingzhi) {
        this.xingzhi = xingzhi;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public void setTarget(Integer target) {
        this.target = target;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public void setReverseCost(Double reverseCost) {
        this.reverseCost = reverseCost;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }
}
